import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'recording_screen_method_channel.dart';

abstract class RecordingScreenPlatform extends PlatformInterface {
  /// Constructs a RecordingScreenPlatform.
  RecordingScreenPlatform() : super(token: _token);

  static final Object _token = Object();

  static RecordingScreenPlatform _instance = MethodChannelRecordingScreen();

  /// The default instance of [RecordingScreenPlatform] to use.
  ///
  /// Defaults to [MethodChannelRecordingScreen].
  static RecordingScreenPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [RecordingScreenPlatform] when
  /// they register themselves.
  static set instance(RecordingScreenPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }



  Future<bool?> startHyRecordScreen(String name,{int width = 0,int height = 0,bool audio=true}) {
    throw UnimplementedError('startRecordScreen() has not been implemented.');
  }

  Future<String?> stopHyRecordScreen() {
    throw UnimplementedError('stopRecord() has not been implemented.');
  }



}
